package com.linzt.candy.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author: linzt
 * @datetime: 2020/12/3 17:55
 * @description: 网关启动程序
 * @version: 1.0
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class CandyGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(CandyGatewayApplication.class, args);
        System.out.println("========= 网关服务启动成功 ==========\n"+
                "_________   ________       \n" +
                "\\_   ___ \\  \\______ \\  \n" +
                "/    \\  \\/   |    |  \\  \n" +
                "\\     \\____  |    `   \\ \n" +
                " \\______  / /_______  /   \n" +
                "        \\/          \\/   \n");
    }
}
